Ignore stale NetworkCallback if NETWORK_STATE_CHANGED already received There may be cases where a new network connection is reflected in NETWORK_STATE_CHANGED callback, but NetworkCallback still reports the old network as connected for half a second. Fix this UI jank by ignoring the old NetworkCallback if the NETWORK_STATE_CHANGED network doesn't match. Flag: EXEMPT minor UI jank fix Bug: 361820514 Test: atest WifiTrackerLibTests Change-Id: Id564de58d01e429a1902e03c167a739517a0aae1 
2 files changed